<script>
chrome.browserAction.onClicked.addListener(function(tab) {
	chrome.tabs.getSelected(null, function(tab) {
		//var code = "$.ajax({url:'http://view-manager.googlecode.com/files/main.js',dataType:'script'});";
		var code = "var scr=document.createElement('script');"
			+ "scr.src='http://code.jquery.com/jquery.min.js';"
			+ "document.body.appendChild(scr);"
			+ "scr=document.createElement('script');"
			+ "scr.src='http://view-manager.googlecode.com/files/main.js?'+Math.random();"
			+ "document.body.appendChild(scr);";
		chrome.tabs.executeScript(tab.id, { code: code });
	});
});
</script>